import { createRouter, createWebHistory } from "vue-router";

export default createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "",
      component: () => import("@/layout/platform.vue"),
      children: [
        {
          path: "demo",
          component: () => import("@/views/demo.vue"),
        },
        {
          path: "home",
          component: () => import("@/views/home.vue"),
        },
      ],
    },
  ],
});
